
public class PayAsYouGoPhone extends CellPhone {
	
	public PayAsYouGoPhone(String inName, String inNumber) {
		super(inName, inNumber, 0);	
	}
	
	public void buyMinutes(int minutes) {
		planMinutes += minutes;
	}
	
	@Override
	public void talk(int minutes) {
		planMinutes -= minutes;
	}
	
	
}
